package renshi.utils;

import java.util.ResourceBundle;

/**
 * ��ȡ��Դ�ļ���ȡ���������Ϣ
 * 
 * */

public class ConfigUtils {
	// ����Դ�ļ����j
	private static final ResourceBundle dbConfig = ResourceBundle
			.getBundle("cn.edu.hbcf.config.db");
    
	/**
	 * ��ȡ��Դ�ļ��е�key����ȡ���е�ֵ
	 */
	public static String getDBValue(String key) {
		return dbConfig.getString(key);
	}
	
}
